package com.cly.entity;

import com.cly.base.entity.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serial;

/**
 * 考试记录表
 *
 * @author by 春风能解释
 * <p>
 * 2024-06-05
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@NoArgsConstructor
@Schema(name = "考试记录表")
public class ProblemBankUser extends BaseEntity {

    /**
     * 序列化
     */
    @Serial
    private static final long serialVersionUID = 5793640175271865340L;
    /**
     * 题库ID
     */
    @Schema(description = "题库ID")
    private Long problemBankId;
    /**
     * 用户ID
     */
    @Schema(description = "用户ID")
    private Long userId;
    /**
     * 分数
     */
    @Schema(description = "分数")
    private Integer score;

}
